package com.jfree.nettyshow.handler;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

public class TestHandler extends SimpleChannelInboundHandler<String> {
    @Override
    protected void channelRead0(ChannelHandlerContext ctx, String msg) throws Exception {
        System.out.println("---第二个inhandler 1111");
        ctx.fireChannelRead(msg);
        System.out.println("---第二个inhandler 2222");
    }
}
